package com.wj.dubbo.service.crawler.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Data;

/**
 * <p>
 * 公积金开户单位
 * </p>
 *
 * @author lee
 * @since 2017-04-28
 */
@Data
@TableName("om_crawler_fund_company")
public class CrawlerFundCompany extends Model<CrawlerFundCompany> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
	private String id;
    /**
     * om_crawler_sf_manager表Id
     */
	@TableField("manager_id")
	private String managerId;
    /**
     * 开户登记号
     */
	@TableField("company_no")
	private String companyNo;
    /**
     * 单位名称
     */
	@TableField("company_name")
	private String companyName;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;

	@TableField(exist=false)
	private String queryUrl;
	
	@TableField(exist=false)
	private boolean doInsert = false;


	@Override
	protected Serializable pkVal() {
		return this.id;
	}
	
	@Override
	public String toString() {
		return "CrawlerFundCompany [id=" + id + ", managerId=" + managerId + ", companyNo=" + companyNo
				+ ", companyName=" + companyName + ", queryUrl=" + queryUrl + "]";
	}
}
